package com.by.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/2 9:44
 * @注释
 */
@Configuration
@ConfigurationProperties(prefix = "db")
public class DbConfig  {
    String username;
    String password;

    String url;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}